package com.itheima.d2_reflect;

public class Test5 {
    public static void main(String[] args) throws Exception {
        Student s1=new Student("张三",21,'男',180.5,"唱歌");
        Teacher t1=new Teacher("李四",3000.5);

        ObjectFrame.saveObject(s1);
        ObjectFrame.saveObject(t1);
    }
}
